/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.mocamorena.view;

import javax.swing.JLabel;

/**
 *
 * @author Diego
 */
public class UserError {

    private JLabel label;

    public UserError(JLabel label, String tooltip) {
        this.label = label;
        this.label.setToolTipText(tooltip);
    }

    public JLabel getLabel() {
        return label;
    }
    
    
}
